using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;

namespace Identity.Application.Contracts.Services
{
    public interface ITokenService
    {
         string GenerateAccessToken(IEnumerable<Claim> claims);
        string GenerateTemporaryToken(IEnumerable<Claim> claims);
        ClaimsPrincipal? ValidateToken(string token, bool validateLifetime = true);
    }
}